module.exports = {
    lintOnSave: false,
    devServer: {
          proxy: {
              '/weather': {
                  target: 'http://t.weather.itboy.net',
                  ws: true,
                  changeOrigin: true,
                  pathRewrite: {
                      '^/weather': '/api/weather/city/', //代理的路径
                  },
              },
          },
    },
}